﻿<Window x:Class="Deployment.Data.UI.Dialogs.Environment.CloneEnvironmentDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Clone Environment" Height="300" Width="300" 
        SizeToContent="Height" 
        MinWidth="300"
        WindowStartupLocation="CenterOwner" 
        ResizeMode="NoResize" ShowInTaskbar="False">
    <StackPanel Orientation="Vertical">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <Label Grid.Row="0"
               Grid.Column="0"
               Content="Environment to clone:"/>
            <Label Grid.Row="0"
               Grid.Column="1"
               Content="{Binding Name}"/>
            <Label Grid.Row="1"
               Grid.Column="0"
               Content="Name of cloned Evironment:"/>
            <TextBox Grid.Row="1"
                 Grid.Column="1"
                 x:Name="txt_newEnvironmentName"/>
        </Grid>
        <StackPanel Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right" >
            <Button Name="okButton" 
                        Click="okButton_Click" 
                        IsDefault="True"
                        Padding="8,4,8,4"
                        Margin="2">OK</Button>
            <Button Name="cancelButton" 
                        IsCancel="True"
                        Padding="4"
                        Margin="2">Cancel</Button>
        </StackPanel>
    </StackPanel>
</Window>

